	<div id="showcase">
	
		<?php $items = $this->sweetcron->query_items('site', 'youtube.com', 0, 1);
foreach ($items as $item): ?>

		
		
			
			
			<?php if ($item->has_video()): ?>
			<div class="video">
					<?php //inline php hackery FTW!
					$video = str_replace('width="212"', 'width="500"', $item->get_video());
					$video = str_replace('height="159"', 'height="375"', $video);
					$video = str_replace('height="178"', 'height="400"', $video);
					echo $video?>
			</div>
			<?php endif; ?>
			<div class="sc_content">
				<h2><?php echo $item->get_title()?></h2>			
				<?php if ($item->has_image() && !$item->has_video()): ?>
				<?php if (isset($item->item_data[$item->get_feed_class()]['image']['m']) && !empty($item->item_data[$item->get_feed_class()]['image']['m'])): ?>
				<p><img src="<?php echo $item->item_data[$item->get_feed_class()]['image']['m']?>" alt="" /></p>
				<?php else: ?>
				<p><img src="<?php echo $item->get_image()?>" alt="" /></p>
				<?php endif; ?>
				<?php endif; ?>
				<?php if ($item->has_content()): ?>
				<div class="content"><?php echo $item->get_content()?></div>
				<?php endif; ?>
				
				<p class="date"><?php echo $item->get_human_date()?> | <a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>#disqus_thread">Comments &raquo;</a></p>
				
				<?php if ($item->has_tags()): ?>
				<ul class="item_tag_list hidden">
					<li>Tags:</li>
					<?php foreach ($item->get_tags() as $tag): ?>
					<li><a href="<?php echo $this->config->item('base_url')?>items/tag/<?php echo $tag->slug?>"><?php echo $tag->name?></a></li>
					<?php endforeach; ?>
				</ul>
				<?php endif; ?>
			</div>	
			<?php endforeach; ?>
		
	</div>
	<div class="clear"></div>

	<div class="clear"></div>